
import axios from './axios'



//查询皮肤列表
export function getSysSkinList(params) {
    const url = '/ms/api/sys/skin/list'
    return axios.get(url, params)
}
//添加皮肤
export function getSysSkinAdd(params) {
    const url = '/ms/api/sys/skin/add'
    return axios.post(url, params)
}
//编辑皮肤
export function getSysSkinEdit(params) {
    const url = '/ms/api/sys/skin/edit'
    return axios.post(url, params)
}
//删除皮肤
export function getSysSkinDel(params) {
    const url = '/ms/api/sys/skin/del/'
    return axios.post(url+params)
}
//查询域名皮肤配置(匿名)
export function getSysSkinAnon(params) {
    const url = '/ms/api/sys/skin/anon'
    return axios.get(url, params)
}
//根据项目id查询皮肤配置
export function getDeptSkin(params) {
    const url = '/ms/api/sys/getSkinByDeptId'
    return axios.get(url, params)
}
